module.exports = async (ctx) => {
    // eslint-disable-next-line no-console
    console.log('这是xml', ctx.req);

    const Xml2js = require('xml2js');
    const Parser = new Xml2js.Parser({ explicitArray: false, ignoreAttrs: false });



    Parser.parseString(ctx.req, function (err, result) {
        console.log(result);
    })
}